.menu {
  height: 100%;
  box-shadow: var(--yang-menu-shadow);
  display: flex;
  user-select: none;
  :global {
    .menu-left {
      width: var(--yang-menu-navone-width);
      transition: all 0.2s;
      position: relative;
      height: 100%;
      background: var(--yang-menu-navone-bg-color);
    }

    .menu-content {
      width: 100%;
      height: 100%;
      position: absolute;
      color: var(--yang-menu-navone-text-color);
      display: flex;
      flex-direction: column;
      .nav-title {
        text-align: center;
        height: 65px;
        line-height: 50px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 20px;
        img {
          width: 30px;
        }
      }
      .scroll {
        flex: 1 0 0;
        overflow: auto;
        .list {
          display: flex;
          flex-direction: column;
          align-items: center;
          position: relative;
          z-index: 2;
          .item {
            width: var(--yang-menu-navone-card-width);
            height: var(--yang-menu-navone-card-height);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: var(--yang-menu-navone-card-radius);
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            z-index: 2;
            &:not(:first-child) {
              margin-top: 10px;
            }

            .name {
              font-size: 13px;
            }

            &-active {
              color: var(--yang-menu-navone-card-active-text-color);
            }
          }
          .menu-active {
            position: absolute;
            top: v-bind(activeTop);
            transition: all 0.25s;
            width: var(--yang-menu-navone-card-width);
            height: var(--yang-menu-navone-card-height);
            background: var(--yang-menu-navone-card-active-bg-color);
            color: var(--yang-menu-navone-card-active-text-color);
            z-index: 1;
            border-radius: var(--yang-menu-navone-card-radius);
          }
        }
      }
    }
    .menu-list {
      height: 100%;
      overflow: hidden;
      transition: all 0.3s;
      position: relative;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      background: var(--yang-menu-navtwo-bg-color);
      color: var(--yang-menu-navtwo-text-color);
      &-main {
        flex: 1;
        min-width: 180px;
        display: flex;
        flex-direction: column;
      }
      .nav-title {
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
        font-size: 20px;
        line-height: 55px;
        text-align: center;
        color: var(--yang-menu-navtwo-title-color);
      }
      .divider {
        text-align: center;
        display: flex;
        align-items: center;
        span {
          padding: 0 15px;
          color: var(--yang-menu-navtwo-line-text-color);
        }
        &-line {
          flex: 1;
          height: var(--yang-menu-navtwo-line-height);
          background: var(--yang-menu-navtwo-line-color);
        }
      }
      .el-divider--horizontal {
        margin: 10px;
      }
      &-main {
        flex: 1 0 0;
        overflow: auto;
        margin-top: 20px;
      }
    }
  }
}

.menuList {
  padding: 0 10px;
  :global {
    .menuList-item{
      font-size: 13px;
      min-height: 50px;
      min-width: 180px;
      margin-bottom: 5px;
      .n-collapse .n-collapse-item .n-collapse-item__header .n-collapse-item__header-main {
        justify-content: space-between !important;
      }
      .n-collapse
      .n-collapse-item
      .n-collapse-item__content-wrapper
      .n-collapse-item__content-inner {
        padding-top: 0 !important;
      }
    }
    .cell {
      border-radius: var(--yang-menu-navtwo-card-radius);
      line-height: 50px;
      text-overflow: ellipsis;
      vertical-align: middle;
      cursor: pointer;
      padding: 0 20px;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      &-active {
        background: var(--yang-menu-navtwo-card-active-bg-color);
        color: var(--yang-menu-navtwo-card-active-text-color);
      }
      .metatitle {
        flex: 1 0 0;
        padding: 0 10px;
      }
      span {
        margin-left: 7px;
      }
    }
  }
}